package com.fuze;

import com.github.xiaoymin.swaggerbootstrapui.annotations.EnableSwaggerBootstrapUI;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author admin
 */
@MapperScan(basePackages = "com.fuze.mapper")
@SpringBootApplication
@EnableSwagger2
@EnableSwaggerBootstrapUI
public class ElectricityTradingApplication {

    public static Logger logger = LoggerFactory.getLogger(ElectricityTradingApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(ElectricityTradingApplication.class, args);
        logger.info("主系统启动成功！");
    }

}
